﻿#region itdc

/************************************************************************
*Copyright(C) 2015 by qsgy
 *All rights reserved. 
 *FileName:     $safeitemname$
 *Author:       oyh
 *Version:      
 *UnityVersion：
 *Date:   $time$      
 *Description:    
 *History: 
************************************************************************/
#endregion
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 获取金币的基类
/// </summary>
public class Reward : MonoBehaviour{
    
    public int Grade=1;
    public virtual void GetGrade()
    {
        GameManager.Instance.Score(Grade);
    }//使主角获取从4个途径获取分数

}
 public enum RewardTpye//死亡，碰撞获取金币
    {
        Trigger,Collider,Death,Receiver
    }